﻿CREATE TABLE [dbo].[Juntas] (
    [JuntaGuid]     UNIQUEIDENTIFIER ROWGUIDCOL NOT NULL,
    [JuntaId]       INT              NOT NULL,
    [EstadoGuid]    UNIQUEIDENTIFIER NOT NULL,
    [EstadoId]      INT              NOT NULL,
    [DistritoGuid]  UNIQUEIDENTIFIER NOT NULL,
    [DistritoId]    INT              NOT NULL,
    [MunicipioGuid] UNIQUEIDENTIFIER NOT NULL,
    [MunicipioId]   INT              NOT NULL,
    [Nombre]        NVARCHAR (250)   NOT NULL,
    [NombreCorto]   NVARCHAR (50)    NOT NULL,
    [Domicilio]     NTEXT            NULL,
    [Email]         NVARCHAR (250)   NULL,
    [Telefono]      NVARCHAR (50)    NULL,
    [RFC]           NVARCHAR (50)    NOT NULL,
    [Status]        BIT              NOT NULL
);





GO
ALTER TABLE [dbo].[Juntas] ENABLE CHANGE_TRACKING WITH (TRACK_COLUMNS_UPDATED = OFF);



